package org.administer.pojo;

import java.util.Objects;

public class CrmLoss {
    private Integer id;
    private String custId;
    private String custname;
    private String userid;
    private String level;
    private String satisfied;
    private String credit;
    private String uptime;
    private String reason;
    private String lasttime;
    private Integer stat;
    private CrmDictionaries dictionariesstat;

    public CrmDictionaries getDictionariesstat() {
        return dictionariesstat;
    }

    public void setDictionariesstat(CrmDictionaries dictionariesstat) {
        this.dictionariesstat = dictionariesstat;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getCustname() {
        return custname;
    }

    public void setCustname(String custname) {
        this.custname = custname;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getSatisfied() {
        return satisfied;
    }

    public void setSatisfied(String satisfied) {
        this.satisfied = satisfied;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit;
    }

    public String getUptime() {
        return uptime;
    }

    public void setUptime(String uptime) {
        this.uptime = uptime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getLasttime() {
        return lasttime;
    }

    public void setLasttime(String lasttime) {
        this.lasttime = lasttime;
    }

    public Integer getStat() {
        return stat;
    }

    public void setStat(Integer stat) {
        this.stat = stat;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CrmLoss that = (CrmLoss) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(custId, that.custId) &&
                Objects.equals(custname, that.custname) &&
                Objects.equals(userid, that.userid) &&
                Objects.equals(level, that.level) &&
                Objects.equals(satisfied, that.satisfied) &&
                Objects.equals(credit, that.credit) &&
                Objects.equals(uptime, that.uptime) &&
                Objects.equals(reason, that.reason) &&
                Objects.equals(lasttime, that.lasttime) &&
                Objects.equals(stat, that.stat);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, custId, custname, userid, level, satisfied, credit, uptime, reason, lasttime, stat);
    }
}
